<!-- HTML header for doxygen 1.8.13-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>Open SCA: runtime_env/rte_utils/include/utils.h File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="customdoxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><a href="http://www.onetek.net"><img alt="Logo" src="openscaLogo.png"/></a></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Open SCA
   &#160;<span id="projectnumber">Version 0.6.0</span>
   </div>
   <div id="projectbrief">Open SCA</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('utils_8h.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#namespaces">Namespaces</a> &#124;
<a href="#define-members">Macros</a> &#124;
<a href="#typedef-members">Typedefs</a> &#124;
<a href="#func-members">Functions</a> &#124;
<a href="#var-members">Variables</a>  </div>
  <div class="headertitle">
<div class="title">utils.h File Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>:   
<a href="#details">More...</a></p>
<div class="textblock"><code>#include &lt;string.h&gt;</code><br />
<code>#include &lt;vector&gt;</code><br />
<code>#include &lt;netinet/in.h&gt;</code><br />
<code>#include &lt;arpa/inet.h&gt;</code><br />
<code>#include &lt;unistd.h&gt;</code><br />
<code>#include &quot;<a class="el" href="macros_8h_source.html">macros.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="_config_parser_8h_source.html">ConfigParser.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="_time_delay_8h_source.html">TimeDelay.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="rte__debug_8h_source.html">rte_debug.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="_boost__utils_8h_source.html">Boost_utils.h</a>&quot;</code><br />
</div><div class="textblock"><div class="dynheader">
Include dependency graph for utils.h:</div>
<div class="dyncontent">
<div class="center"><img src="utils_8h__incl.png" border="0" usemap="#runtime__env_2rte__utils_2include_2utils_8h" alt=""/></div>
<map name="runtime__env_2rte__utils_2include_2utils_8h" id="runtime__env_2rte__utils_2include_2utils_8h">
</map>
</div>
</div><div class="textblock"><div class="dynheader">
This graph shows which files directly or indirectly include this file:</div>
<div class="dyncontent">
<div class="center"><img src="utils_8h__dep__incl.png" border="0" usemap="#runtime__env_2rte__utils_2include_2utils_8hdep" alt=""/></div>
<map name="runtime__env_2rte__utils_2include_2utils_8hdep" id="runtime__env_2rte__utils_2include_2utils_8hdep">
</map>
</div>
</div>
<p><a href="utils_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_eth_phy_addr_type.html">EthPhyAddrType</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_task_params_type.html">TaskParamsType</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Params task needs.  <a href="struct_task_params_type.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="namespaces"></a>
Namespaces</h2></td></tr>
<tr class="memitem:namespace_c_o_n_s_t_a_n_t"><td class="memItemLeft" align="right" valign="top"> &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_c_o_n_s_t_a_n_t.html">CONSTANT</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:a5d159604a50245fb06aded60959871d3"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="utils_8h.html#a5d159604a50245fb06aded60959871d3">SDS_SLEEP</a>&#160;&#160;&#160;1000000</td></tr>
<tr class="memdesc:a5d159604a50245fb06aded60959871d3"><td class="mdescLeft">&#160;</td><td class="mdescRight">unsigned long of max size  <a href="#a5d159604a50245fb06aded60959871d3">More...</a><br /></td></tr>
<tr class="separator:a5d159604a50245fb06aded60959871d3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa235780805b5c4e85853187e3b0e8e5c"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="utils_8h.html#aa235780805b5c4e85853187e3b0e8e5c">ULONG_MAX_SIZE</a>&#160;&#160;&#160;10</td></tr>
<tr class="separator:aa235780805b5c4e85853187e3b0e8e5c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0d540b2206d032632888180a173363ed"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="utils_8h.html#a0d540b2206d032632888180a173363ed">TASK_PARAMS_COUNT</a>&#160;&#160;&#160;6</td></tr>
<tr class="separator:a0d540b2206d032632888180a173363ed"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac05e110519a529835cda3d3663dcd2c0"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="utils_8h.html#ac05e110519a529835cda3d3663dcd2c0">MAX_MESSAGE_NUM</a>&#160;&#160;&#160;1000</td></tr>
<tr class="separator:ac05e110519a529835cda3d3663dcd2c0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab234d1358562b66925fb7223c087556b"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="utils_8h.html#ab234d1358562b66925fb7223c087556b">MAX_MESSAGE_LENGTH</a>&#160;&#160;&#160;2048</td></tr>
<tr class="separator:ab234d1358562b66925fb7223c087556b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a27ba71ea2da4bc4f585a9ba306628ce0"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="utils_8h.html#a27ba71ea2da4bc4f585a9ba306628ce0">MSG_Q_WAIT</a>&#160;&#160;&#160;0</td></tr>
<tr class="separator:a27ba71ea2da4bc4f585a9ba306628ce0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeecfbddb4604375581a72d1c91e41d61"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="utils_8h.html#aeecfbddb4604375581a72d1c91e41d61">MSG_Q_NOWAIT</a>&#160;&#160;&#160;1</td></tr>
<tr class="separator:aeecfbddb4604375581a72d1c91e41d61"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a943029b091a5aa761447fd1764497c9b"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="utils_8h.html#a943029b091a5aa761447fd1764497c9b">swap16</a>(s)</td></tr>
<tr class="separator:a943029b091a5aa761447fd1764497c9b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a54e6f9cc9dfe87328d17e011d7b274bb"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="utils_8h.html#a54e6f9cc9dfe87328d17e011d7b274bb">swap32</a>(s)</td></tr>
<tr class="separator:a54e6f9cc9dfe87328d17e011d7b274bb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac216a9649fea6d37c1dceb9b7912a616"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="utils_8h.html#ac216a9649fea6d37c1dceb9b7912a616">LocalToBigEndian_16</a>(s)&#160;&#160;&#160;(<a class="el" href="utils_8h.html#ac6ab566aa4b7764fb0cbcaab5afab089">IsBigEndian</a>() ? s : <a class="el" href="utils_8h.html#a943029b091a5aa761447fd1764497c9b">swap16</a>(s))</td></tr>
<tr class="separator:ac216a9649fea6d37c1dceb9b7912a616"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a90887ae78cadb2e47e8457a2bd7ef8b5"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="utils_8h.html#a90887ae78cadb2e47e8457a2bd7ef8b5">LocalToBigEndian_32</a>(s)&#160;&#160;&#160;(<a class="el" href="utils_8h.html#ac6ab566aa4b7764fb0cbcaab5afab089">IsBigEndian</a>() ? s : <a class="el" href="utils_8h.html#a54e6f9cc9dfe87328d17e011d7b274bb">swap32</a>(s))</td></tr>
<tr class="separator:a90887ae78cadb2e47e8457a2bd7ef8b5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5723aaca8135c7c4d45149abeff0240c"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="utils_8h.html#a5723aaca8135c7c4d45149abeff0240c">BigToLocalEndian_16</a>(s)&#160;&#160;&#160;(<a class="el" href="utils_8h.html#ac6ab566aa4b7764fb0cbcaab5afab089">IsBigEndian</a>() ? s : <a class="el" href="utils_8h.html#a943029b091a5aa761447fd1764497c9b">swap16</a>(s))</td></tr>
<tr class="separator:a5723aaca8135c7c4d45149abeff0240c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7e140d2b73d75a63c059857bc475da60"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="utils_8h.html#a7e140d2b73d75a63c059857bc475da60">BigToLocalEndian_32</a>(s)&#160;&#160;&#160;(<a class="el" href="utils_8h.html#ac6ab566aa4b7764fb0cbcaab5afab089">IsBigEndian</a>() ? s : <a class="el" href="utils_8h.html#a54e6f9cc9dfe87328d17e011d7b274bb">swap32</a>(s))</td></tr>
<tr class="separator:a7e140d2b73d75a63c059857bc475da60"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2f2d937560dec6bc3f8ba1f71b863982"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="utils_8h.html#a2f2d937560dec6bc3f8ba1f71b863982">LocalToLeastEndian_16</a>(s)&#160;&#160;&#160;(<a class="el" href="utils_8h.html#ac6ab566aa4b7764fb0cbcaab5afab089">IsBigEndian</a>() ? <a class="el" href="utils_8h.html#a943029b091a5aa761447fd1764497c9b">swap16</a>(s) : s)</td></tr>
<tr class="separator:a2f2d937560dec6bc3f8ba1f71b863982"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a35be9bffbfd7e5854228f094a6211d5c"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="utils_8h.html#a35be9bffbfd7e5854228f094a6211d5c">LocalToLeastEndian_32</a>(s)&#160;&#160;&#160;(<a class="el" href="utils_8h.html#ac6ab566aa4b7764fb0cbcaab5afab089">IsBigEndian</a>() ? <a class="el" href="utils_8h.html#a54e6f9cc9dfe87328d17e011d7b274bb">swap32</a>(s) : s)</td></tr>
<tr class="separator:a35be9bffbfd7e5854228f094a6211d5c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a076f5273e7df906756e614d02e35a672"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="utils_8h.html#a076f5273e7df906756e614d02e35a672">LeastToLocalEndian_16</a>(s)&#160;&#160;&#160;(<a class="el" href="utils_8h.html#ac6ab566aa4b7764fb0cbcaab5afab089">IsBigEndian</a>() ? <a class="el" href="utils_8h.html#a943029b091a5aa761447fd1764497c9b">swap16</a>(s) : s)</td></tr>
<tr class="separator:a076f5273e7df906756e614d02e35a672"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a664cc122f1ed2de3405965402ea5bb51"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="utils_8h.html#a664cc122f1ed2de3405965402ea5bb51">LeastToLocalEndian_32</a>(s)&#160;&#160;&#160;(<a class="el" href="utils_8h.html#ac6ab566aa4b7764fb0cbcaab5afab089">IsBigEndian</a>() ? <a class="el" href="utils_8h.html#a54e6f9cc9dfe87328d17e011d7b274bb">swap32</a>(s) : s)</td></tr>
<tr class="separator:a664cc122f1ed2de3405965402ea5bb51"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a62e10752c18d199ca2c7802105ba5520"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="utils_8h.html#a62e10752c18d199ca2c7802105ba5520">ETH_ADDR_MAP_PROP_ID</a>&#160;&#160;&#160;&quot;DCE:e809635d-5fae-42e5-bb10- \                                                    177f736b4b15:1&quot;</td></tr>
<tr class="separator:a62e10752c18d199ca2c7802105ba5520"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9651c734f37bb14386ac96c21cb07e65"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="utils_8h.html#a9651c734f37bb14386ac96c21cb07e65">SRIO_ADDR_MAP_PROP_ID</a>&#160;&#160;&#160;&quot;DCE:438247b3-473f-485c-a6f6- \                                                    8efc237f2fe6:1&quot;</td></tr>
<tr class="separator:a9651c734f37bb14386ac96c21cb07e65"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a432f2a98600a53163b89563b186f7325"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="utils_8h.html#a432f2a98600a53163b89563b186f7325">INSTANCE_NUM_PROP_ID</a>&#160;&#160;&#160;&quot;DCE:c5a4caf4-1acb-4301-baf1- \                                                    6c398e9aa743:1&quot;</td></tr>
<tr class="separator:a432f2a98600a53163b89563b186f7325"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acd6a14495a11f7bdaebe24eb60dc91aa"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="utils_8h.html#acd6a14495a11f7bdaebe24eb60dc91aa">MAIN_CTRL_MHAL_SRIO_PORT_ID</a>&#160;&#160;&#160;&quot;DCE:fc601789-b6bf-4b64-8c49- \                                                    733793f50f14:1&quot;</td></tr>
<tr class="separator:acd6a14495a11f7bdaebe24eb60dc91aa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0f7ed8be01d9d02f2416946d2fb62081"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="utils_8h.html#a0f7ed8be01d9d02f2416946d2fb62081">HEARTBEAT_REQUEST_PROP_ID</a>&#160;&#160;&#160;&quot;DCE:a289ce03-be97-4dfd-a1b0- \                                                    4c7a5c8c0a56:1&quot;</td></tr>
<tr class="separator:a0f7ed8be01d9d02f2416946d2fb62081"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa4ad864432c6bc40c6c1e6bf31f0b31c"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="utils_8h.html#aa4ad864432c6bc40c6c1e6bf31f0b31c">ADD_ADDR_MAP</a>&#160;&#160;&#160;0x01</td></tr>
<tr class="separator:aa4ad864432c6bc40c6c1e6bf31f0b31c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8e31bdaeab63ad2e223949781c48a2c0"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="utils_8h.html#a8e31bdaeab63ad2e223949781c48a2c0">DEL_ADDR_MAP</a>&#160;&#160;&#160;0x02</td></tr>
<tr class="separator:a8e31bdaeab63ad2e223949781c48a2c0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa3aff1cbf15063201a0324c52b73d20e"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="utils_8h.html#aa3aff1cbf15063201a0324c52b73d20e">SINGLE_ETH_ADDR_MAP_ITEM_LENGTH</a>&#160;&#160;&#160;8</td></tr>
<tr class="separator:aa3aff1cbf15063201a0324c52b73d20e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3b1de4beaf0f41bb67a0c928730dd575"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="utils_8h.html#a3b1de4beaf0f41bb67a0c928730dd575">SINGLE_SRIO_ADDR_MAP_ITEM_LENGTH</a>&#160;&#160;&#160;4</td></tr>
<tr class="separator:a3b1de4beaf0f41bb67a0c928730dd575"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac227f24e88f63f759fe6761a204b718e"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="utils_8h.html#ac227f24e88f63f759fe6761a204b718e">LOGICAL_ADDR_LENGTH</a>&#160;&#160;&#160;2</td></tr>
<tr class="separator:ac227f24e88f63f759fe6761a204b718e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa260ab80a81c539e927eac639a22af3b"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="utils_8h.html#aa260ab80a81c539e927eac639a22af3b">ETH_PHYSICAL_ADDR_LENGTH</a>&#160;&#160;&#160;6</td></tr>
<tr class="separator:aa260ab80a81c539e927eac639a22af3b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab88fe664e48bba3f7cd1a313fb1fd7cc"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="utils_8h.html#ab88fe664e48bba3f7cd1a313fb1fd7cc">SRIO_PHYSICAL_ADDR_LENGTH</a>&#160;&#160;&#160;2</td></tr>
<tr class="separator:ab88fe664e48bba3f7cd1a313fb1fd7cc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a905608829db39e7f1c7d2c251f1be6f4"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="utils_8h.html#a905608829db39e7f1c7d2c251f1be6f4">HEARTBEAT_REQUEST_EVENT</a>&#160;&#160;&#160;1</td></tr>
<tr class="separator:a905608829db39e7f1c7d2c251f1be6f4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa9dfc70b814fbec9184c5160e16fbccd"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="utils_8h.html#aa9dfc70b814fbec9184c5160e16fbccd">MAX_CONTINOUS_DETECTED_BROKEN_TIMES</a>&#160;&#160;&#160;2</td></tr>
<tr class="separator:aa9dfc70b814fbec9184c5160e16fbccd"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
Typedefs</h2></td></tr>
<tr class="memitem:a190fa12528634510d89e65323fb88d69"><td class="memItemLeft" align="right" valign="top">typedef char&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="utils_8h.html#a190fa12528634510d89e65323fb88d69">c6</a>[6]</td></tr>
<tr class="separator:a190fa12528634510d89e65323fb88d69"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a4a12b5414feea9fdd8448086d9ba8c28"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="utils_8h.html#a4a12b5414feea9fdd8448086d9ba8c28">delete2DArray</a> (int argc, char **argv)</td></tr>
<tr class="separator:a4a12b5414feea9fdd8448086d9ba8c28"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad4cdb360d419e3769354050e5b67b65b"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="utils_8h.html#ad4cdb360d419e3769354050e5b67b65b">createMsgQueue</a> (MsgQId &amp;msgQId)</td></tr>
<tr class="memdesc:ad4cdb360d419e3769354050e5b67b65b"><td class="mdescLeft">&#160;</td><td class="mdescRight">The operation shall create a message queue.  <a href="#ad4cdb360d419e3769354050e5b67b65b">More...</a><br /></td></tr>
<tr class="separator:ad4cdb360d419e3769354050e5b67b65b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab9b59a2593019c5817984f326bbe95d3"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="utils_8h.html#ab9b59a2593019c5817984f326bbe95d3">msgSend</a> (MsgQId msgId, char *msg, unsigned int msgSize)</td></tr>
<tr class="memdesc:ab9b59a2593019c5817984f326bbe95d3"><td class="mdescLeft">&#160;</td><td class="mdescRight">The operation shall send a message to specific message queue.  <a href="#ab9b59a2593019c5817984f326bbe95d3">More...</a><br /></td></tr>
<tr class="separator:ab9b59a2593019c5817984f326bbe95d3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a846317330d3fc0b53320ecdda3cc500e"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="utils_8h.html#a846317330d3fc0b53320ecdda3cc500e">msgReceive</a> (MsgQId msgId, char *msg, unsigned int msgSize, int flag)</td></tr>
<tr class="memdesc:a846317330d3fc0b53320ecdda3cc500e"><td class="mdescLeft">&#160;</td><td class="mdescRight">The operation shall receive message from specific message queue.  <a href="#a846317330d3fc0b53320ecdda3cc500e">More...</a><br /></td></tr>
<tr class="separator:a846317330d3fc0b53320ecdda3cc500e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8114cf8b4a7d811d8d566a6db277573d"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="utils_8h.html#a8114cf8b4a7d811d8d566a6db277573d">delMsgQueue</a> (MsgQId qid)</td></tr>
<tr class="memdesc:a8114cf8b4a7d811d8d566a6db277573d"><td class="mdescLeft">&#160;</td><td class="mdescRight">The operation shall delete the specific message queue.  <a href="#a8114cf8b4a7d811d8d566a6db277573d">More...</a><br /></td></tr>
<tr class="separator:a8114cf8b4a7d811d8d566a6db277573d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac6ab566aa4b7764fb0cbcaab5afab089"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="utils_8h.html#ac6ab566aa4b7764fb0cbcaab5afab089">IsBigEndian</a> ()</td></tr>
<tr class="separator:ac6ab566aa4b7764fb0cbcaab5afab089"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a06d995e3a20e2021fa6d90a90cd123ae"><td class="memItemLeft" align="right" valign="top">char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="utils_8h.html#a06d995e3a20e2021fa6d90a90cd123ae">IntTOStr</a> (int num)</td></tr>
<tr class="memdesc:a06d995e3a20e2021fa6d90a90cd123ae"><td class="mdescLeft">&#160;</td><td class="mdescRight">The operation convert an integer to string.  <a href="#a06d995e3a20e2021fa6d90a90cd123ae">More...</a><br /></td></tr>
<tr class="separator:a06d995e3a20e2021fa6d90a90cd123ae"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaa90b588aeda6f7aff18278f81ac1b87"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="utils_8h.html#aaa90b588aeda6f7aff18278f81ac1b87">showErrnoInfo</a> ()</td></tr>
<tr class="separator:aaa90b588aeda6f7aff18278f81ac1b87"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1a9ea9c5f1ad157d6ac1e1d3b5f7f1bc"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="utils_8h.html#a1a9ea9c5f1ad157d6ac1e1d3b5f7f1bc">checkIpFormat</a> (const char *ip)</td></tr>
<tr class="memdesc:a1a9ea9c5f1ad157d6ac1e1d3b5f7f1bc"><td class="mdescLeft">&#160;</td><td class="mdescRight">The operation check whether the input parameter is accord with the format of ip address.  <a href="#a1a9ea9c5f1ad157d6ac1e1d3b5f7f1bc">More...</a><br /></td></tr>
<tr class="separator:a1a9ea9c5f1ad157d6ac1e1d3b5f7f1bc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aecfe7fa9f13fe81c166fd06dbdedff5f"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="utils_8h.html#aecfe7fa9f13fe81c166fd06dbdedff5f">checkHexFormat</a> (const char *hexStr)</td></tr>
<tr class="memdesc:aecfe7fa9f13fe81c166fd06dbdedff5f"><td class="mdescLeft">&#160;</td><td class="mdescRight">The operation check whether the input parameter is accord with the format of Hex.  <a href="#aecfe7fa9f13fe81c166fd06dbdedff5f">More...</a><br /></td></tr>
<tr class="separator:aecfe7fa9f13fe81c166fd06dbdedff5f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae23e27b2e899cddbb051a52e9b8dd617"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="utils_8h.html#ae23e27b2e899cddbb051a52e9b8dd617">hexConvertToDec</a> (const char *hexStr, short &amp;result)</td></tr>
<tr class="memdesc:ae23e27b2e899cddbb051a52e9b8dd617"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convert hex string to dec number whose type is short.  <a href="#ae23e27b2e899cddbb051a52e9b8dd617">More...</a><br /></td></tr>
<tr class="separator:ae23e27b2e899cddbb051a52e9b8dd617"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aef614f9f85e739b606c40179867abebf"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="utils_8h.html#aef614f9f85e739b606c40179867abebf">hexConvertToDec</a> (const char *hexStr, unsigned short &amp;result)</td></tr>
<tr class="memdesc:aef614f9f85e739b606c40179867abebf"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convert hex string to dec number whose type is unsigned short.  <a href="#aef614f9f85e739b606c40179867abebf">More...</a><br /></td></tr>
<tr class="separator:aef614f9f85e739b606c40179867abebf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6f6fed18c61efa545e9f80fa94d5c145"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="utils_8h.html#a6f6fed18c61efa545e9f80fa94d5c145">hexConvertToDec</a> (const char *hexStr, long &amp;result)</td></tr>
<tr class="memdesc:a6f6fed18c61efa545e9f80fa94d5c145"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convert hex string to dec number whose type is long.  <a href="#a6f6fed18c61efa545e9f80fa94d5c145">More...</a><br /></td></tr>
<tr class="separator:a6f6fed18c61efa545e9f80fa94d5c145"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ada897c5a967dbbc8924b186eaaaee127"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="utils_8h.html#ada897c5a967dbbc8924b186eaaaee127">hexConvertToDec</a> (const char *hexStr, unsigned long &amp;result)</td></tr>
<tr class="memdesc:ada897c5a967dbbc8924b186eaaaee127"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convert hex string to dec number whose type is unsigned long.  <a href="#ada897c5a967dbbc8924b186eaaaee127">More...</a><br /></td></tr>
<tr class="separator:ada897c5a967dbbc8924b186eaaaee127"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0a9f47dc8c5e4dd35d67b78da7aee223"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="utils_8h.html#a0a9f47dc8c5e4dd35d67b78da7aee223">replaceFileNameofPath</a> (const char *fullPath, const char *fileName)</td></tr>
<tr class="separator:a0a9f47dc8c5e4dd35d67b78da7aee223"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adfd91ed7f342b3be4ba2104bd371c3f8"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="utils_8h.html#adfd91ed7f342b3be4ba2104bd371c3f8">setConfigFilePathToSHM</a> (const char *path)</td></tr>
<tr class="memdesc:adfd91ed7f342b3be4ba2104bd371c3f8"><td class="mdescLeft">&#160;</td><td class="mdescRight">configure opensca.conf path.  <a href="#adfd91ed7f342b3be4ba2104bd371c3f8">More...</a><br /></td></tr>
<tr class="separator:adfd91ed7f342b3be4ba2104bd371c3f8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a71e47746a18092a8d5836779673d17cb"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="utils_8h.html#a71e47746a18092a8d5836779673d17cb">getConfigFilePathFromSHM</a> (char *path, int size)</td></tr>
<tr class="memdesc:a71e47746a18092a8d5836779673d17cb"><td class="mdescLeft">&#160;</td><td class="mdescRight">get opensca.conf path.  <a href="#a71e47746a18092a8d5836779673d17cb">More...</a><br /></td></tr>
<tr class="separator:a71e47746a18092a8d5836779673d17cb"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="var-members"></a>
Variables</h2></td></tr>
<tr class="memitem:a3239fb87215ad73d0f60b81c62f03da2"><td class="memItemLeft" align="right" valign="top">const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_c_o_n_s_t_a_n_t.html#a3239fb87215ad73d0f60b81c62f03da2">FSROOT</a></td></tr>
<tr class="separator:a3239fb87215ad73d0f60b81c62f03da2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a817837bca0c63cbd569427dd33f78fdc"><td class="memItemLeft" align="right" valign="top">const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_c_o_n_s_t_a_n_t.html#a817837bca0c63cbd569427dd33f78fdc">SDRROOT</a></td></tr>
<tr class="separator:a817837bca0c63cbd569427dd33f78fdc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abe62d58a59ab887bf0c437bcb1b27118"><td class="memItemLeft" align="right" valign="top">const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_c_o_n_s_t_a_n_t.html#abe62d58a59ab887bf0c437bcb1b27118">NAMING_SERVICE_SPDPATH</a></td></tr>
<tr class="separator:abe62d58a59ab887bf0c437bcb1b27118"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a80db6d5d63c79d48a0eb48470a69f03b"><td class="memItemLeft" align="right" valign="top">const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_c_o_n_s_t_a_n_t.html#a80db6d5d63c79d48a0eb48470a69f03b">EVENT_SERVICE_SPDPATH</a></td></tr>
<tr class="separator:a80db6d5d63c79d48a0eb48470a69f03b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2bb6cfcc7b30bb6b049887056e7c039f"><td class="memItemLeft" align="right" valign="top">const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_c_o_n_s_t_a_n_t.html#a2bb6cfcc7b30bb6b049887056e7c039f">MAINDCDPATH</a></td></tr>
<tr class="separator:a2bb6cfcc7b30bb6b049887056e7c039f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad7847c211da5f866989c9a050634fbf4"><td class="memItemLeft" align="right" valign="top">const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_c_o_n_s_t_a_n_t.html#ad7847c211da5f866989c9a050634fbf4">DMDPATH</a></td></tr>
<tr class="separator:ad7847c211da5f866989c9a050634fbf4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a234f2bf4b0d8d543699fbb1a218c25e4"><td class="memItemLeft" align="right" valign="top">const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_c_o_n_s_t_a_n_t.html#a234f2bf4b0d8d543699fbb1a218c25e4">MOUNTPOINT</a></td></tr>
<tr class="separator:a234f2bf4b0d8d543699fbb1a218c25e4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a30a0a81efb4f73a8fb963a08d3328ded"><td class="memItemLeft" align="right" valign="top">const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_c_o_n_s_t_a_n_t.html#a30a0a81efb4f73a8fb963a08d3328ded">OPENSCA_DOMAIN</a></td></tr>
<tr class="separator:a30a0a81efb4f73a8fb963a08d3328ded"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9b73f458bda16061a6f2d26142dd7d17"><td class="memItemLeft" align="right" valign="top">const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_c_o_n_s_t_a_n_t.html#a9b73f458bda16061a6f2d26142dd7d17">APPLICATIONS</a></td></tr>
<tr class="separator:a9b73f458bda16061a6f2d26142dd7d17"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:add55ed503a3fabb5d840ee205411d886"><td class="memItemLeft" align="right" valign="top">const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_c_o_n_s_t_a_n_t.html#add55ed503a3fabb5d840ee205411d886">NODES</a></td></tr>
<tr class="separator:add55ed503a3fabb5d840ee205411d886"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1deeef06f06b20c1a886164194611a8d"><td class="memItemLeft" align="right" valign="top">const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_c_o_n_s_t_a_n_t.html#a1deeef06f06b20c1a886164194611a8d">FILEMANAGER</a></td></tr>
<tr class="separator:a1deeef06f06b20c1a886164194611a8d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa0d9d6c4e1652bf478467f136bda7b07"><td class="memItemLeft" align="right" valign="top">const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_c_o_n_s_t_a_n_t.html#aa0d9d6c4e1652bf478467f136bda7b07">MAIN_NODE</a></td></tr>
<tr class="separator:aa0d9d6c4e1652bf478467f136bda7b07"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab9283eb46c5595f151a3ef8d2741bc1b"><td class="memItemLeft" align="right" valign="top">const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_c_o_n_s_t_a_n_t.html#ab9283eb46c5595f151a3ef8d2741bc1b">DEBUGLEVEL</a></td></tr>
<tr class="separator:ab9283eb46c5595f151a3ef8d2741bc1b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa5c7f5297fa33b0ad386b3aba6dc1981"><td class="memItemLeft" align="right" valign="top">const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_c_o_n_s_t_a_n_t.html#aa5c7f5297fa33b0ad386b3aba6dc1981">HEALTH_PROP_ID</a></td></tr>
<tr class="separator:aa5c7f5297fa33b0ad386b3aba6dc1981"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a794b94aa20c368aa40831432957a2eef"><td class="memItemLeft" align="right" valign="top">const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_c_o_n_s_t_a_n_t.html#a794b94aa20c368aa40831432957a2eef">IS_BOARD_PROP_ID</a></td></tr>
<tr class="separator:a794b94aa20c368aa40831432957a2eef"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a47585e84f40d8bf54406239cca01d5d2"><td class="memItemLeft" align="right" valign="top">const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_c_o_n_s_t_a_n_t.html#a47585e84f40d8bf54406239cca01d5d2">AGGREGATE_SERVICE_SPDPATH</a></td></tr>
<tr class="separator:a47585e84f40d8bf54406239cca01d5d2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9e8fe1428450e2a99428bf3cc1eef275"><td class="memItemLeft" align="right" valign="top">const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_c_o_n_s_t_a_n_t.html#a9e8fe1428450e2a99428bf3cc1eef275">HEARTBEAT_DETECTION_SERVICE</a></td></tr>
<tr class="separator:a9e8fe1428450e2a99428bf3cc1eef275"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4a56d40af662591f9c81a9a3d948f4fd"><td class="memItemLeft" align="right" valign="top">const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_c_o_n_s_t_a_n_t.html#a4a56d40af662591f9c81a9a3d948f4fd">KEYPATH</a></td></tr>
<tr class="separator:a4a56d40af662591f9c81a9a3d948f4fd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acdd6824fd344b79eea01ca9ab4f2d10d"><td class="memItemLeft" align="right" valign="top">const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_c_o_n_s_t_a_n_t.html#acdd6824fd344b79eea01ca9ab4f2d10d">SNFILE</a></td></tr>
<tr class="separator:acdd6824fd344b79eea01ca9ab4f2d10d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6ae9aa896d7c38fc50e61cb12e6c52ac"><td class="memItemLeft" align="right" valign="top">const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_c_o_n_s_t_a_n_t.html#a6ae9aa896d7c38fc50e61cb12e6c52ac">NAMING_SERVICE_ENDPOINTS</a></td></tr>
<tr class="separator:a6ae9aa896d7c38fc50e61cb12e6c52ac"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a223b0ba11d1f398a30ce0ecfbb8894d6"><td class="memItemLeft" align="right" valign="top">MsgQId&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="utils_8h.html#a223b0ba11d1f398a30ce0ecfbb8894d6">loadMsgQueue</a></td></tr>
<tr class="separator:a223b0ba11d1f398a30ce0ecfbb8894d6"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>:  </p>
<dl class="section author"><dt>Author</dt><dd>open Team </dd></dl>
<dl class="section version"><dt>Version</dt><dd>9 </dd></dl>
<dl class="section date"><dt>Date</dt><dd>2017-03-16 <pre class="fragment">* ==============================================================================
* &lt;Date&gt;     | &lt;Version&gt; | &lt;Author&gt;       | &lt;Description&gt;
* ==============================================================================
*  2015-05-23 | 1       | open Team       | Create file
* ==============================================================================
* </pre> <hr/>
 <h2><center>&copy; Copyright(c)2015-2025 JFounder Info Tech Co.,Ltd</center></h2>
</dd></dl>
<p>All rights reserved. The right to copy, distribute, modify or otherwise make use of this software may be licensed only pursuant to the terms of an applicable JFounder license agreement. Company website: www.onetek.net </p>

<p>Definition in file <a class="el" href="utils_8h_source.html">utils.h</a>.</p>
</div><h2 class="groupheader">Macro Definition Documentation</h2>
<a class="anchor" id="aa4ad864432c6bc40c6c1e6bf31f0b31c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ADD_ADDR_MAP&#160;&#160;&#160;0x01</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="utils_8h_source.html#l00082">82</a> of file <a class="el" href="utils_8h_source.html">utils.h</a>.</p>

</div>
</div>
<a class="anchor" id="a5723aaca8135c7c4d45149abeff0240c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define BigToLocalEndian_16</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">s</td><td>)</td>
          <td>&#160;&#160;&#160;(<a class="el" href="utils_8h.html#ac6ab566aa4b7764fb0cbcaab5afab089">IsBigEndian</a>() ? s : <a class="el" href="utils_8h.html#a943029b091a5aa761447fd1764497c9b">swap16</a>(s))</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="utils_8h_source.html#l00063">63</a> of file <a class="el" href="utils_8h_source.html">utils.h</a>.</p>

</div>
</div>
<a class="anchor" id="a7e140d2b73d75a63c059857bc475da60"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define BigToLocalEndian_32</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">s</td><td>)</td>
          <td>&#160;&#160;&#160;(<a class="el" href="utils_8h.html#ac6ab566aa4b7764fb0cbcaab5afab089">IsBigEndian</a>() ? s : <a class="el" href="utils_8h.html#a54e6f9cc9dfe87328d17e011d7b274bb">swap32</a>(s))</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="utils_8h_source.html#l00064">64</a> of file <a class="el" href="utils_8h_source.html">utils.h</a>.</p>

</div>
</div>
<a class="anchor" id="a8e31bdaeab63ad2e223949781c48a2c0"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define DEL_ADDR_MAP&#160;&#160;&#160;0x02</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="utils_8h_source.html#l00083">83</a> of file <a class="el" href="utils_8h_source.html">utils.h</a>.</p>

</div>
</div>
<a class="anchor" id="a62e10752c18d199ca2c7802105ba5520"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ETH_ADDR_MAP_PROP_ID&#160;&#160;&#160;&quot;DCE:e809635d-5fae-42e5-bb10- \                                                    177f736b4b15:1&quot;</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="utils_8h_source.html#l00071">71</a> of file <a class="el" href="utils_8h_source.html">utils.h</a>.</p>

</div>
</div>
<a class="anchor" id="aa260ab80a81c539e927eac639a22af3b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ETH_PHYSICAL_ADDR_LENGTH&#160;&#160;&#160;6</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="utils_8h_source.html#l00087">87</a> of file <a class="el" href="utils_8h_source.html">utils.h</a>.</p>

</div>
</div>
<a class="anchor" id="a905608829db39e7f1c7d2c251f1be6f4"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define HEARTBEAT_REQUEST_EVENT&#160;&#160;&#160;1</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="utils_8h_source.html#l00092">92</a> of file <a class="el" href="utils_8h_source.html">utils.h</a>.</p>

</div>
</div>
<a class="anchor" id="a0f7ed8be01d9d02f2416946d2fb62081"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define HEARTBEAT_REQUEST_PROP_ID&#160;&#160;&#160;&quot;DCE:a289ce03-be97-4dfd-a1b0- \                                                    4c7a5c8c0a56:1&quot;</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="utils_8h_source.html#l00079">79</a> of file <a class="el" href="utils_8h_source.html">utils.h</a>.</p>

</div>
</div>
<a class="anchor" id="a432f2a98600a53163b89563b186f7325"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define INSTANCE_NUM_PROP_ID&#160;&#160;&#160;&quot;DCE:c5a4caf4-1acb-4301-baf1- \                                                    6c398e9aa743:1&quot;</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="utils_8h_source.html#l00075">75</a> of file <a class="el" href="utils_8h_source.html">utils.h</a>.</p>

</div>
</div>
<a class="anchor" id="a076f5273e7df906756e614d02e35a672"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define LeastToLocalEndian_16</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">s</td><td>)</td>
          <td>&#160;&#160;&#160;(<a class="el" href="utils_8h.html#ac6ab566aa4b7764fb0cbcaab5afab089">IsBigEndian</a>() ? <a class="el" href="utils_8h.html#a943029b091a5aa761447fd1764497c9b">swap16</a>(s) : s)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="utils_8h_source.html#l00068">68</a> of file <a class="el" href="utils_8h_source.html">utils.h</a>.</p>

</div>
</div>
<a class="anchor" id="a664cc122f1ed2de3405965402ea5bb51"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define LeastToLocalEndian_32</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">s</td><td>)</td>
          <td>&#160;&#160;&#160;(<a class="el" href="utils_8h.html#ac6ab566aa4b7764fb0cbcaab5afab089">IsBigEndian</a>() ? <a class="el" href="utils_8h.html#a54e6f9cc9dfe87328d17e011d7b274bb">swap32</a>(s) : s)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="utils_8h_source.html#l00069">69</a> of file <a class="el" href="utils_8h_source.html">utils.h</a>.</p>

</div>
</div>
<a class="anchor" id="ac216a9649fea6d37c1dceb9b7912a616"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define LocalToBigEndian_16</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">s</td><td>)</td>
          <td>&#160;&#160;&#160;(<a class="el" href="utils_8h.html#ac6ab566aa4b7764fb0cbcaab5afab089">IsBigEndian</a>() ? s : <a class="el" href="utils_8h.html#a943029b091a5aa761447fd1764497c9b">swap16</a>(s))</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="utils_8h_source.html#l00061">61</a> of file <a class="el" href="utils_8h_source.html">utils.h</a>.</p>

</div>
</div>
<a class="anchor" id="a90887ae78cadb2e47e8457a2bd7ef8b5"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define LocalToBigEndian_32</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">s</td><td>)</td>
          <td>&#160;&#160;&#160;(<a class="el" href="utils_8h.html#ac6ab566aa4b7764fb0cbcaab5afab089">IsBigEndian</a>() ? s : <a class="el" href="utils_8h.html#a54e6f9cc9dfe87328d17e011d7b274bb">swap32</a>(s))</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="utils_8h_source.html#l00062">62</a> of file <a class="el" href="utils_8h_source.html">utils.h</a>.</p>

</div>
</div>
<a class="anchor" id="a2f2d937560dec6bc3f8ba1f71b863982"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define LocalToLeastEndian_16</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">s</td><td>)</td>
          <td>&#160;&#160;&#160;(<a class="el" href="utils_8h.html#ac6ab566aa4b7764fb0cbcaab5afab089">IsBigEndian</a>() ? <a class="el" href="utils_8h.html#a943029b091a5aa761447fd1764497c9b">swap16</a>(s) : s)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="utils_8h_source.html#l00066">66</a> of file <a class="el" href="utils_8h_source.html">utils.h</a>.</p>

</div>
</div>
<a class="anchor" id="a35be9bffbfd7e5854228f094a6211d5c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define LocalToLeastEndian_32</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">s</td><td>)</td>
          <td>&#160;&#160;&#160;(<a class="el" href="utils_8h.html#ac6ab566aa4b7764fb0cbcaab5afab089">IsBigEndian</a>() ? <a class="el" href="utils_8h.html#a54e6f9cc9dfe87328d17e011d7b274bb">swap32</a>(s) : s)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="utils_8h_source.html#l00067">67</a> of file <a class="el" href="utils_8h_source.html">utils.h</a>.</p>

</div>
</div>
<a class="anchor" id="ac227f24e88f63f759fe6761a204b718e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define LOGICAL_ADDR_LENGTH&#160;&#160;&#160;2</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="utils_8h_source.html#l00086">86</a> of file <a class="el" href="utils_8h_source.html">utils.h</a>.</p>

</div>
</div>
<a class="anchor" id="acd6a14495a11f7bdaebe24eb60dc91aa"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define MAIN_CTRL_MHAL_SRIO_PORT_ID&#160;&#160;&#160;&quot;DCE:fc601789-b6bf-4b64-8c49- \                                                    733793f50f14:1&quot;</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="utils_8h_source.html#l00077">77</a> of file <a class="el" href="utils_8h_source.html">utils.h</a>.</p>

</div>
</div>
<a class="anchor" id="aa9dfc70b814fbec9184c5160e16fbccd"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define MAX_CONTINOUS_DETECTED_BROKEN_TIMES&#160;&#160;&#160;2</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="utils_8h_source.html#l00093">93</a> of file <a class="el" href="utils_8h_source.html">utils.h</a>.</p>

</div>
</div>
<a class="anchor" id="ab234d1358562b66925fb7223c087556b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define MAX_MESSAGE_LENGTH&#160;&#160;&#160;2048</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="utils_8h_source.html#l00043">43</a> of file <a class="el" href="utils_8h_source.html">utils.h</a>.</p>

</div>
</div>
<a class="anchor" id="ac05e110519a529835cda3d3663dcd2c0"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define MAX_MESSAGE_NUM&#160;&#160;&#160;1000</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="utils_8h_source.html#l00042">42</a> of file <a class="el" href="utils_8h_source.html">utils.h</a>.</p>

</div>
</div>
<a class="anchor" id="aeecfbddb4604375581a72d1c91e41d61"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define MSG_Q_NOWAIT&#160;&#160;&#160;1</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="utils_8h_source.html#l00046">46</a> of file <a class="el" href="utils_8h_source.html">utils.h</a>.</p>

</div>
</div>
<a class="anchor" id="a27ba71ea2da4bc4f585a9ba306628ce0"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define MSG_Q_WAIT&#160;&#160;&#160;0</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="utils_8h_source.html#l00045">45</a> of file <a class="el" href="utils_8h_source.html">utils.h</a>.</p>

</div>
</div>
<a class="anchor" id="a5d159604a50245fb06aded60959871d3"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define SDS_SLEEP&#160;&#160;&#160;1000000</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>unsigned long of max size </p>

<p>Definition at line <a class="el" href="utils_8h_source.html#l00037">37</a> of file <a class="el" href="utils_8h_source.html">utils.h</a>.</p>

</div>
</div>
<a class="anchor" id="aa3aff1cbf15063201a0324c52b73d20e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define SINGLE_ETH_ADDR_MAP_ITEM_LENGTH&#160;&#160;&#160;8</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="utils_8h_source.html#l00084">84</a> of file <a class="el" href="utils_8h_source.html">utils.h</a>.</p>

</div>
</div>
<a class="anchor" id="a3b1de4beaf0f41bb67a0c928730dd575"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define SINGLE_SRIO_ADDR_MAP_ITEM_LENGTH&#160;&#160;&#160;4</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="utils_8h_source.html#l00085">85</a> of file <a class="el" href="utils_8h_source.html">utils.h</a>.</p>

</div>
</div>
<a class="anchor" id="a9651c734f37bb14386ac96c21cb07e65"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define SRIO_ADDR_MAP_PROP_ID&#160;&#160;&#160;&quot;DCE:438247b3-473f-485c-a6f6- \                                                    8efc237f2fe6:1&quot;</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="utils_8h_source.html#l00073">73</a> of file <a class="el" href="utils_8h_source.html">utils.h</a>.</p>

</div>
</div>
<a class="anchor" id="ab88fe664e48bba3f7cd1a313fb1fd7cc"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define SRIO_PHYSICAL_ADDR_LENGTH&#160;&#160;&#160;2</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="utils_8h_source.html#l00088">88</a> of file <a class="el" href="utils_8h_source.html">utils.h</a>.</p>

</div>
</div>
<a class="anchor" id="a943029b091a5aa761447fd1764497c9b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define swap16</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">s</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line">((((s) &amp; 0x00ff) &lt;&lt; 8) | \</div><div class="line">                                                (((s) &amp; 0xff00) &gt;&gt; 8))</div></div><!-- fragment -->
<p>Definition at line <a class="el" href="utils_8h_source.html#l00053">53</a> of file <a class="el" href="utils_8h_source.html">utils.h</a>.</p>

</div>
</div>
<a class="anchor" id="a54e6f9cc9dfe87328d17e011d7b274bb"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define swap32</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">s</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line">((((s) &amp; 0x000000ff) &lt;&lt; 24) |  \</div><div class="line">                                                (((s) &amp; 0x0000ff00) &lt;&lt;  8) |   \</div><div class="line">                                                (((s) &amp; 0x00ff0000) &gt;&gt;  8) |   \</div><div class="line">                                                (((s) &amp; 0xff000000) &gt;&gt; 24))</div></div><!-- fragment -->
<p>Definition at line <a class="el" href="utils_8h_source.html#l00056">56</a> of file <a class="el" href="utils_8h_source.html">utils.h</a>.</p>

</div>
</div>
<a class="anchor" id="a0d540b2206d032632888180a173363ed"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define TASK_PARAMS_COUNT&#160;&#160;&#160;6</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="utils_8h_source.html#l00040">40</a> of file <a class="el" href="utils_8h_source.html">utils.h</a>.</p>

</div>
</div>
<a class="anchor" id="aa235780805b5c4e85853187e3b0e8e5c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ULONG_MAX_SIZE&#160;&#160;&#160;10</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="utils_8h_source.html#l00039">39</a> of file <a class="el" href="utils_8h_source.html">utils.h</a>.</p>

</div>
</div>
<h2 class="groupheader">Typedef Documentation</h2>
<a class="anchor" id="a190fa12528634510d89e65323fb88d69"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef char c6[6]</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="utils_8h_source.html#l00090">90</a> of file <a class="el" href="utils_8h_source.html">utils.h</a>.</p>

</div>
</div>
<h2 class="groupheader">Function Documentation</h2>
<a class="anchor" id="aecfe7fa9f13fe81c166fd06dbdedff5f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool checkHexFormat </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>hexStr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>The operation check whether the input parameter is accord with the format of Hex. </p>

</div>
</div>
<a class="anchor" id="a1a9ea9c5f1ad157d6ac1e1d3b5f7f1bc"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool checkIpFormat </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>ip</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>The operation check whether the input parameter is accord with the format of ip address. </p>

</div>
</div>
<a class="anchor" id="ad4cdb360d419e3769354050e5b67b65b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool createMsgQueue </td>
          <td>(</td>
          <td class="paramtype">MsgQId &amp;&#160;</td>
          <td class="paramname"><em>msgQId</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>The operation shall create a message queue. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in,out]</td><td class="paramname">msgQId</td><td>Id of the message queue created. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Result of creating the message queue. </dd></dl>
<dl class="retval"><dt>Return values</dt><dd>
  <table class="retval">
    <tr><td class="paramname">true</td><td>Create message queue successfully. </td></tr>
    <tr><td class="paramname">false</td><td>Create message queue failed. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a4a12b5414feea9fdd8448086d9ba8c28"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void delete2DArray </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>argc</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char **&#160;</td>
          <td class="paramname"><em>argv</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a8114cf8b4a7d811d8d566a6db277573d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool delMsgQueue </td>
          <td>(</td>
          <td class="paramtype">MsgQId&#160;</td>
          <td class="paramname"><em>qid</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>The operation shall delete the specific message queue. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">qid</td><td>Id of message queue will be deleted. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Result of deleting the message queue. </dd></dl>
<dl class="retval"><dt>Return values</dt><dd>
  <table class="retval">
    <tr><td class="paramname">true</td><td>Delete successfully. </td></tr>
    <tr><td class="paramname">false</td><td>Delete failed. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a71e47746a18092a8d5836779673d17cb"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void getConfigFilePathFromSHM </td>
          <td>(</td>
          <td class="paramtype">char *&#160;</td>
          <td class="paramname"><em>path</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>size</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>get opensca.conf path. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">path</td><td>storage path information </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">size</td><td>maximum path length </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ae23e27b2e899cddbb051a52e9b8dd617"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool hexConvertToDec </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>hexStr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">short &amp;&#160;</td>
          <td class="paramname"><em>result</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Convert hex string to dec number whose type is short. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">hexStr</td><td>string need to be converted. </td></tr>
    <tr><td class="paramdir">[in,out]</td><td class="paramname">result</td><td>dec number converted by string.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>result of convertion. </dd></dl>
<dl class="retval"><dt>Return values</dt><dd>
  <table class="retval">
    <tr><td class="paramname">true</td><td>convert successfully. </td></tr>
    <tr><td class="paramname">false</td><td>convert failed. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="aef614f9f85e739b606c40179867abebf"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool hexConvertToDec </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>hexStr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned short &amp;&#160;</td>
          <td class="paramname"><em>result</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Convert hex string to dec number whose type is unsigned short. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">hexStr</td><td>string need to be converted. </td></tr>
    <tr><td class="paramdir">[in,out]</td><td class="paramname">result</td><td>dec number converted by string.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>result of convertion. </dd></dl>
<dl class="retval"><dt>Return values</dt><dd>
  <table class="retval">
    <tr><td class="paramname">true</td><td>convert successfully. </td></tr>
    <tr><td class="paramname">false</td><td>convert failed. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a6f6fed18c61efa545e9f80fa94d5c145"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool hexConvertToDec </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>hexStr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">long &amp;&#160;</td>
          <td class="paramname"><em>result</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Convert hex string to dec number whose type is long. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">hexStr</td><td>string need to be converted. </td></tr>
    <tr><td class="paramdir">[in,out]</td><td class="paramname">result</td><td>dec number converted by string.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>result of convertion. </dd></dl>
<dl class="retval"><dt>Return values</dt><dd>
  <table class="retval">
    <tr><td class="paramname">true</td><td>convert successfully. </td></tr>
    <tr><td class="paramname">false</td><td>convert failed. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ada897c5a967dbbc8924b186eaaaee127"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool hexConvertToDec </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>hexStr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned long &amp;&#160;</td>
          <td class="paramname"><em>result</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Convert hex string to dec number whose type is unsigned long. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">hexStr</td><td>string need to be converted. </td></tr>
    <tr><td class="paramdir">[in,out]</td><td class="paramname">result</td><td>dec number converted by string.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>result of convertion. </dd></dl>
<dl class="retval"><dt>Return values</dt><dd>
  <table class="retval">
    <tr><td class="paramname">true</td><td>convert successfully. </td></tr>
    <tr><td class="paramname">false</td><td>convert failed. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a06d995e3a20e2021fa6d90a90cd123ae"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">char* IntTOStr </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>num</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>The operation convert an integer to string. </p>

</div>
</div>
<a class="anchor" id="ac6ab566aa4b7764fb0cbcaab5afab089"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool IsBigEndian </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a846317330d3fc0b53320ecdda3cc500e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int msgReceive </td>
          <td>(</td>
          <td class="paramtype">MsgQId&#160;</td>
          <td class="paramname"><em>msgId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char *&#160;</td>
          <td class="paramname"><em>msg</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned int&#160;</td>
          <td class="paramname"><em>msgSize</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>flag</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>The operation shall receive message from specific message queue. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">msgId</td><td>Id of message queue from which receive message. </td></tr>
    <tr><td class="paramdir">[in,out]</td><td class="paramname">msg</td><td>Message received from the message queue. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">msgSize</td><td>Expected size of the message received. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">flag</td><td>Flag of waiting or no waiting if there is no message in message queue when receive, optional value are MSG_Q_WAIT and MSG_Q_NOWAIT. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Actual size of the message received. </dd></dl>

</div>
</div>
<a class="anchor" id="ab9b59a2593019c5817984f326bbe95d3"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool msgSend </td>
          <td>(</td>
          <td class="paramtype">MsgQId&#160;</td>
          <td class="paramname"><em>msgId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char *&#160;</td>
          <td class="paramname"><em>msg</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned int&#160;</td>
          <td class="paramname"><em>msgSize</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>The operation shall send a message to specific message queue. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">msgId</td><td>Id of the message queue to which message will be sent. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">msg</td><td>Message will be sent to the message queue. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">msgSize</td><td>Size of the sent message. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Result of sending message to the message queue. </dd></dl>
<dl class="retval"><dt>Return values</dt><dd>
  <table class="retval">
    <tr><td class="paramname">Send</td><td>successfully. </td></tr>
    <tr><td class="paramname">Send</td><td>failed. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a0a9f47dc8c5e4dd35d67b78da7aee223"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::string replaceFileNameofPath </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>fullPath</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>fileName</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="adfd91ed7f342b3be4ba2104bd371c3f8"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void setConfigFilePathToSHM </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>path</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>configure opensca.conf path. </p>

</div>
</div>
<a class="anchor" id="aaa90b588aeda6f7aff18278f81ac1b87"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void showErrnoInfo </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Variable Documentation</h2>
<a class="anchor" id="a223b0ba11d1f398a30ce0ecfbb8894d6"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">MsgQId loadMsgQueue</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- HTML footer for doxygen 1.8.13-->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_f225e4d86008d3e73336a06c8611e2b4.html">runtime_env</a></li><li class="navelem"><a class="el" href="dir_8f9a475dbd6b925c5ec1184392d41305.html">rte_utils</a></li><li class="navelem"><a class="el" href="dir_8a3d4f0e83014ff517f4732af5005de4.html">include</a></li><li class="navelem"><a class="el" href="utils_8h.html">utils.h</a></li>
    <li class="footer">Generated on Fri Jul 12 2019 14:31:54 for
    <a href="http://www.onetek.net">
    <img class="footer" src="openscaLogo.png" height="31" alt="openSCA"/></a>
    </li>
  </ul>
</div>
</body>
</html>
